package com.ruoyi.project.syl_DZ.D.OutpatientPatient.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 outpatient_patient1
 *
 * @author ruoyi
 * @date 2021-07-16
 */
public class OutpatientPatientDxy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 患者id */
    private Long patientId;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 患者性别 */
    @Excel(name = "患者性别")
    private String patientSex;

    /** 患者身份证 */
    @Excel(name = "患者身份证")
    private String patientIdcard;

    /** 患者年龄 */
    @Excel(name = "患者年龄")
    private Long patientAge;

    /** 患者电话 */
    @Excel(name = "患者电话")
    private Long patientPhone;

    /** 患者地址 */
    @Excel(name = "患者地址")
    private String patientAddr;

    /** 患者出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "患者出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date patientBirth;

    /** 患者过敏史 */
    @Excel(name = "患者过敏史")
    private String patientAlle;

    public void setPatientId(Long patientId)
    {
        this.patientId = patientId;
    }

    public Long getPatientId()
    {
        return patientId;
    }
    public void setPatientName(String patientName)
    {
        this.patientName = patientName;
    }

    public String getPatientName()
    {
        return patientName;
    }
    public void setPatientSex(String patientSex)
    {
        this.patientSex = patientSex;
    }

    public String getPatientSex()
    {
        return patientSex;
    }
    public void setPatientIdcard(String patientIdcard)
    {
        this.patientIdcard = patientIdcard;
    }

    public String getPatientIdcard()
    {
        return patientIdcard;
    }
    public void setPatientAge(Long patientAge)
    {
        this.patientAge = patientAge;
    }

    public Long getPatientAge()
    {
        return patientAge;
    }
    public void setPatientPhone(Long patientPhone)
    {
        this.patientPhone = patientPhone;
    }

    public Long getPatientPhone()
    {
        return patientPhone;
    }
    public void setPatientAddr(String patientAddr)
    {
        this.patientAddr = patientAddr;
    }

    public String getPatientAddr()
    {
        return patientAddr;
    }
    public void setPatientBirth(Date patientBirth)
    {
        this.patientBirth = patientBirth;
    }

    public Date getPatientBirth()
    {
        return patientBirth;
    }
    public void setPatientAlle(String patientAlle)
    {
        this.patientAlle = patientAlle;
    }

    public String getPatientAlle()
    {
        return patientAlle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patientId", getPatientId())
            .append("patientName", getPatientName())
            .append("patientSex", getPatientSex())
            .append("patientIdcard", getPatientIdcard())
            .append("patientAge", getPatientAge())
            .append("patientPhone", getPatientPhone())
            .append("patientAddr", getPatientAddr())
            .append("patientBirth", getPatientBirth())
            .append("patientAlle", getPatientAlle())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
